package main

import "fmt"

type Person struct {
	IsBoy      bool
	AgePointer *int
	AgeYears   int
	Name       string
	Friend     []Person
	Hobby      map[string]string
	IsFinish   chan int
	Other      interface{}
}

func main() {
	//每种类型对应的零值
	//bool      -> false
	//numbers -> 0
	//string    -> ""
	//
	//pointers -> nil
	//slices -> nil
	//maps -> nil
	//channels -> nil
	//functions -> nil
	//interfaces -> nil

	// 默认值
	var p Person
	fmt.Printf("Perso: %+v\n", p)

}
